how to detect and remove heteroscedasticity